//
//  UIKit+TTKit.h
//  UIKit+TTKit
//
//  Created by Apple on 2017/11/13.
//  Copyright © 2017年 Apple. All rights reserved.
//
#import <Foundation/Foundation.h>

/*
 UI类及UI助手类引用
 */
#import "TTViewController.h"
#import "TTRefresh.h"
#import "UIView+frameAdjust.h"

#define DEVICE_WIDTH [UIScreen mainScreen].bounds.size.width
#define DEVICE_HEIGHT [UIScreen mainScreen].bounds.size.height

#define LOAD_IMAGE(image) [UIImage imageNamed:image]
#define LOAD_IMAGE_TO_COLOR(image) [UIColor colorWithPatternImage:LOAD_IMAGE(image)]
#define IS_IOS_8 (DeviceSystemMajorVersion() >= 8)
#define IS_IOS_7 (DeviceSystemMajorVersion() >= 7)
#define IS_IOS_6_LESS (DeviceSystemMajorVersion() < 6)

#define RGBCOLOR(r,g,b,a) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:(a)]

